package com.woniu40.petai_user.entity;

import java.util.Date;

public class Article {
    private Integer articleId;

    private Integer artTypeId;

    private String articleTitle;

    private Date createTime;

    private Integer managerId;

    private String articleLabel;

    private Integer viewNum;

    private Integer colCount;

    private Integer articleStatus;

    private String articleContent;

    private String articleImgpath;

    public String getArticleImgpath() {
        return articleImgpath;
    }

    public void setArticleImgpath(String articleImgpath) {
        this.articleImgpath = articleImgpath;
    }

    public Integer getArticleId() {
        return articleId;
    }

    public void setArticleId(Integer articleId) {
        this.articleId = articleId;
    }

    public Integer getArtTypeId() {
        return artTypeId;
    }

    public void setArtTypeId(Integer artTypeId) {
        this.artTypeId = artTypeId;
    }

    public String getArticleTitle() {
        return articleTitle;
    }

    public void setArticleTitle(String articleTitle) {
        this.articleTitle = articleTitle == null ? null : articleTitle.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getManagerId() {
        return managerId;
    }

    public void setManagerId(Integer managerId) {
        this.managerId = managerId;
    }

    public String getArticleLabel() {
        return articleLabel;
    }

    public void setArticleLabel(String articleLabel) {
        this.articleLabel = articleLabel == null ? null : articleLabel.trim();
    }

    public Integer getViewNum() {
        return viewNum;
    }

    public void setViewNum(Integer viewNum) {
        this.viewNum = viewNum;
    }

    public Integer getColCount() {
        return colCount;
    }

    public void setColCount(Integer colCount) {
        this.colCount = colCount;
    }

    public Integer getArticleStatus() {
        return articleStatus;
    }

    public void setArticleStatus(Integer articleStatus) {
        this.articleStatus = articleStatus;
    }

    public String getArticleContent() {
        return articleContent;
    }

    public void setArticleContent(String articleContent) {
        this.articleContent = articleContent == null ? null : articleContent.trim();
    }

    @Override
    public String toString() {
        return "Article{" +
                "articleId=" + articleId +
                ", artTypeId=" + artTypeId +
                ", articleTitle='" + articleTitle + '\'' +
                ", createTime=" + createTime +
                ", managerId=" + managerId +
                ", articleLabel='" + articleLabel + '\'' +
                ", viewNum=" + viewNum +
                ", colCount=" + colCount +
                ", articleStatus=" + articleStatus +
                ", articleContent='" + articleContent + '\'' +
                '}';
    }
}